package org.learn.test;

public class HomeWork05 {
    public static void main(String[] args) {
        //输出1-100之间的不能被5整除的数，每五个一行；
        int str = 1;
        int end = 100;
        int g = 0;
        for(int i = str; i <= end; i++){
            if (!(i % 5 == 0)){
                System.out.print(i + "\t");
                g++;
                if( g % 5 ==0){
                    System.out.println("");
                }
            }
        }

    }
}
